package com.itheima.service;

import com.github.pagehelper.Page;
import com.itheima.pojo.User;

public interface UserService {

    public boolean save(User user);

    public boolean update(User user);

    public boolean delete(Integer uuid);

    public User get(Integer uuid);

    public Page<User> getAll(Integer page, Integer size);

    public Page<User> getUsers(User user ,Integer page, Integer size);

    public User login(String userName,String password);
}
